package com.shuiyun.jtt.message.jt808;

import com.shuiyun.jtt.anno.Message;
import com.shuiyun.jtt.enums.JT808;
import com.shuiyun.jtt.message.JTMessage;
import com.shuiyun.jtt.message.jt808.extend.MultimediaItem;
import com.shuiyun.jtt.utils.codec.DataType;
import com.shuiyun.jtt.utils.codec.FieldValue;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author shuiyun
 * @program gateway
 * @description 存储多媒体数据检索应答
 * @date 2022-05-08 23:57
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Message(value = JT808.存储多媒体数据检索应答0x0802)
public class T0802 extends JTMessage {

    @FieldValue(type = DataType.WORD, desc = "应答流水号")
    private Integer serialNo;


    @FieldValue(type = DataType.LIST,lengthSize = 2,desc = "检索项")
    private List<MultimediaItem> items;
}
